package com.yunxi.service.localService.otd;

import com.yunxi.core.service.IServicePlus;
import com.yunxi.model.otd.OtdOrderCirMonth;
import com.yunxi.otd.pojo.OtdOrderCirScheduleQueryVO;
import com.yunxi.otd.pojo.OtdOrderCirVO;
import java.util.List;

/**
 * <p>
 * 月预测CIR 服务类
 * </p>
 *
 * @author XUQI
 * @since 2019-10-15
 */
public interface OtdOrderCirMonthService extends IServicePlus<OtdOrderCirMonth> {

    /**
     * 查询日排程cir订单
     *
     * @param queryVO 查询VO
     * @return 分页对象
     */
    OtdOrderCirVO findCirOrderSchedule(OtdOrderCirScheduleQueryVO queryVO);

    /**
     * 分页查询月cir分周排程订单
     *
     * @param queryVO 查询VO
     * @return 分页对象
     */
    OtdOrderCirVO findMonthCirWeekly(OtdOrderCirScheduleQueryVO queryVO);

    /**
     * 根据年月删除CIR订单
     * @param yearMonths 年月
     */
    void deleteCirOrderByYearMonth(List<String> yearMonths);

}
